package com.uniview.util;


import net.sf.json.JSONArray;

public class DealRequestAugUtil {
	
	/**
	 * 主要用于批量删除数据时传入用id拼接的字符串
	 * aug   ids : ["1","2"]
	 * @return [1,2]
	 * */
	public static Integer[] stringArrToNumArr(String ids){
		JSONArray jsonArray = JSONArray.fromObject(ids);
		Integer[] array = (Integer[]) JSONArray.toArray(jsonArray, Integer.class);
		return array;
	}
	
}
